export function PoweredByMuxBadge() {
  return (
    <div className="flex items-center justify-center w-full">
      <a
        href="https://mux.com?utm_source=egghead.io&utm_campaign=powered-by-mux"
        className="px-4 py-2 rounded hover:bg-gray-400/10 transition mt-16"
        target="_blank"
        rel="noopener noreferrer"
        aria-label="Visit Mux website - Video Powered by Mux"
      >
        <svg
          xmlns="http://www.w3.org/2000/svg"
          className="w-44"
          viewBox="0 0 180 18"
          aria-label="Video Powered by Mux"
          fill="none"
        >
          <g fill="currentColor" opacity={0.8} clipPath="url(#a)">
            <path
              fillRule="evenodd"
              d="m167.881 9-5.131 5.16a2.26 2.26 0 0 0 0 3.181c.873.878 2.29.878 3.164 0l5.131-5.16 5.132 5.16c.873.878 2.29.878 3.164 0a2.26 2.26 0 0 0 0-3.181L174.209 9l5.132-5.16a2.26 2.26 0 0 0 0-3.181 2.23 2.23 0 0 0-3.164 0l-5.132 5.16-5.131-5.16a2.23 2.23 0 0 0-3.164 0 2.26 2.26 0 0 0 0 3.181zm-9.929-9a2.243 2.243 0 0 0-2.237 2.25V9c0 2.482-2.008 4.501-4.476 4.501s-4.477-2.02-4.477-4.501V2.25A2.244 2.244 0 0 0 144.525 0a2.244 2.244 0 0 0-2.237 2.25V9c0 4.963 4.016 9 8.951 9s8.951-4.037 8.951-9V2.25A2.244 2.244 0 0 0 157.953 0zm-21.874.659a2.23 2.23 0 0 1 2.438-.487h.001a2.25 2.25 0 0 1 1.38 2.078v13.5A2.243 2.243 0 0 1 137.66 18a2.244 2.244 0 0 1-2.237-2.25V7.68l-2.894 2.91a2.23 2.23 0 0 1-3.164 0l-2.895-2.91v8.07a2.243 2.243 0 0 1-2.237 2.25 2.244 2.244 0 0 1-2.237-2.25V2.25c0-.91.545-1.73 1.381-2.078a2.23 2.23 0 0 1 2.438.487l5.131 5.16z"
              clipRule="evenodd"
            />
            <path
              d="m108.38 6.258 2.198 5.824 2.128-5.824h1.218l-3.29 8.344a6.6 6.6 0 0 1-.448.966c-.14.224-.294.378-.49.476-.196.112-.462.154-.784.154h-1.372v-1.05h1.022c.224 0 .392-.014.504-.07a.5.5 0 0 0 .266-.224c.07-.112.154-.294.266-.546l.364-.854-2.8-7.196zM105.171 6.608q.777.441 1.218 1.26c.294.56.448 1.204.448 1.96 0 .728-.154 1.358-.448 1.904-.294.56-.7.98-1.218 1.288a3.46 3.46 0 0 1-1.764.462c-.588 0-1.078-.098-1.484-.308a2.33 2.33 0 0 1-.966-.868l-.154 1.092h-.994v-9.8h1.148v3.808c.588-.812 1.414-1.232 2.45-1.232.658 0 1.246.154 1.764.434m-.168 5.124c.434-.49.658-1.12.658-1.904 0-.77-.224-1.4-.658-1.89s-1.008-.742-1.708-.742c-.462 0-.868.112-1.232.336s-.63.532-.826.924q-.294.588-.294 1.344 0 .777.294 1.386c.196.406.462.714.826.938s.77.336 1.246.336c.7 0 1.274-.238 1.708-.728M93.881 3.598v9.8h-.994l-.154-1.148c-.602.826-1.414 1.232-2.45 1.232-.672 0-1.26-.14-1.778-.434q-.777-.42-1.218-1.26c-.294-.546-.434-1.204-.434-1.96 0-.714.14-1.344.434-1.904.294-.546.7-.98 1.232-1.288q.777-.462 1.764-.462c.574 0 1.064.112 1.484.322.406.21.728.49.966.854V3.598zm-2.268 8.54q.546-.336.84-.924c.196-.392.294-.854.294-1.358a3.1 3.1 0 0 0-.294-1.372 2.23 2.23 0 0 0-.84-.952 2.3 2.3 0 0 0-1.218-.336c-.714 0-1.288.252-1.722.742s-.644 1.12-.644 1.89c0 .784.21 1.414.644 1.904s1.008.728 1.722.728c.448 0 .854-.098 1.218-.322M79.44 7.91c.28-.546.685-.966 1.203-1.274q.756-.462 1.764-.462c.644 0 1.232.14 1.736.406.504.28.896.672 1.19 1.176q.42.777.462 1.806c0 .112-.014.266-.028.49h-5.544v.098c.014.7.224 1.26.644 1.68.406.42.938.63 1.61.63q.756 0 1.302-.378c.364-.252.602-.616.728-1.078h1.162c-.14.728-.49 1.33-1.05 1.792s-1.246.686-2.058.686c-.714 0-1.33-.14-1.862-.448a3.16 3.16 0 0 1-1.246-1.288c-.294-.56-.434-1.19-.434-1.918s.14-1.358.42-1.918m5.165 1.19c-.056-.602-.294-1.078-.686-1.414s-.896-.504-1.498-.504c-.546 0-1.022.182-1.428.532-.42.364-.644.826-.7 1.386zM78.632 6.258v1.12h-.574c-.686 0-1.176.238-1.47.686-.294.462-.434 1.022-.434 1.694v3.64h-1.148v-7.14H76l.154 1.078c.196-.322.462-.588.798-.784.322-.196.77-.294 1.358-.294zM67.34 7.91c.28-.546.686-.966 1.204-1.274q.756-.462 1.764-.462c.644 0 1.232.14 1.736.406.504.28.896.672 1.19 1.176q.42.777.462 1.806c0 .112-.014.266-.028.49h-5.544v.098c.014.7.224 1.26.644 1.68.406.42.938.63 1.61.63q.756 0 1.302-.378c.364-.252.602-.616.728-1.078h1.162c-.14.728-.49 1.33-1.05 1.792s-1.246.686-2.058.686c-.714 0-1.33-.14-1.862-.448a3.16 3.16 0 0 1-1.246-1.288c-.294-.56-.434-1.19-.434-1.918s.14-1.358.42-1.918m5.166 1.19c-.056-.602-.294-1.078-.686-1.414s-.896-.504-1.498-.504c-.546 0-1.022.182-1.428.532-.42.364-.644.826-.7 1.386zM55.754 6.258h1.204l1.778 5.81 1.876-5.81h1.064l1.778 5.81 1.862-5.81h1.162l-2.38 7.14h-1.26l-1.722-5.306-1.792 5.306-1.26.014zM49.924 13.02a3.16 3.16 0 0 1-1.246-1.288c-.308-.546-.448-1.176-.448-1.904 0-.714.14-1.344.448-1.904.294-.546.714-.98 1.246-1.288q.798-.462 1.848-.462c.686 0 1.302.154 1.834.462s.952.742 1.26 1.288c.294.56.448 1.19.448 1.904 0 .728-.154 1.358-.448 1.904a3.3 3.3 0 0 1-1.26 1.288c-.532.308-1.148.462-1.834.462q-1.05 0-1.848-.462m3.08-.896a2.2 2.2 0 0 0 .84-.938c.196-.392.294-.854.294-1.358s-.098-.952-.294-1.358a2.27 2.27 0 0 0-.84-.938 2.3 2.3 0 0 0-1.232-.336c-.476 0-.882.112-1.246.336s-.63.546-.826.938a3.1 3.1 0 0 0-.294 1.358c0 .504.098.966.294 1.358.196.406.462.714.826.938s.77.336 1.246.336c.462 0 .868-.112 1.232-.336M45.504 6.608q.777.441 1.218 1.26c.294.56.448 1.204.448 1.96 0 .728-.154 1.358-.448 1.904-.294.56-.7.98-1.218 1.288a3.46 3.46 0 0 1-1.764.462c-.588 0-1.078-.098-1.484-.308a2.33 2.33 0 0 1-.966-.868v3.892h-1.148v-9.94h.994l.154 1.148c.588-.812 1.414-1.232 2.45-1.232.658 0 1.246.154 1.764.434m-.168 5.124c.434-.49.658-1.12.658-1.904 0-.77-.224-1.4-.658-1.89s-1.008-.742-1.708-.742c-.462 0-.868.112-1.232.336s-.63.532-.826.924q-.294.588-.294 1.344 0 .777.294 1.386c.196.406.462.714.826.938s.77.336 1.246.336c.462 0 .868-.112 1.232-.336M29.772 13.02a3.16 3.16 0 0 1-1.246-1.288c-.308-.546-.448-1.176-.448-1.904 0-.714.14-1.344.448-1.904.294-.546.714-.98 1.246-1.288q.798-.462 1.848-.462c.686 0 1.302.154 1.834.462s.952.742 1.26 1.288c.294.56.448 1.19.448 1.904 0 .728-.154 1.358-.448 1.904a3.3 3.3 0 0 1-1.26 1.288c-.532.308-1.148.462-1.834.462q-1.05 0-1.848-.462m3.08-.896a2.2 2.2 0 0 0 .84-.938c.196-.392.294-.854.294-1.358s-.098-.952-.294-1.358a2.27 2.27 0 0 0-.84-.938 2.3 2.3 0 0 0-1.232-.336c-.476 0-.882.112-1.246.336s-.63.546-.826.938a3.1 3.1 0 0 0-.294 1.358c0 .504.098.966.294 1.358.196.406.462.714.826.938s.77.336 1.246.336c.462 0 .868-.112 1.232-.336M20.664 7.91c.28-.546.686-.966 1.204-1.274q.756-.462 1.764-.462c.644 0 1.232.14 1.736.406.504.28.896.672 1.19 1.176q.42.777.462 1.806c0 .112-.014.266-.028.49h-5.544v.098c.014.7.224 1.26.644 1.68.406.42.938.63 1.61.63q.756 0 1.302-.378c.364-.252.602-.616.728-1.078h1.162c-.14.728-.49 1.33-1.05 1.792s-1.246.686-2.058.686c-.714 0-1.33-.14-1.862-.448a3.16 3.16 0 0 1-1.246-1.288c-.294-.56-.434-1.19-.434-1.918s.14-1.358.42-1.918M25.83 9.1c-.056-.602-.294-1.078-.686-1.414s-.896-.504-1.498-.504c-.546 0-1.022.182-1.428.532-.42.364-.644.826-.7 1.386zM18.932 3.598v9.8h-.994l-.154-1.148c-.602.826-1.414 1.232-2.45 1.232-.672 0-1.26-.14-1.778-.434q-.777-.42-1.218-1.26c-.294-.546-.434-1.204-.434-1.96 0-.714.14-1.344.434-1.904.294-.546.7-.98 1.232-1.288q.777-.462 1.764-.462c.574 0 1.064.112 1.484.322.406.21.728.49.966.854V3.598zm-2.268 8.54q.546-.336.84-.924c.196-.392.294-.854.294-1.358a3.1 3.1 0 0 0-.294-1.372 2.23 2.23 0 0 0-.84-.952 2.3 2.3 0 0 0-1.218-.336c-.714 0-1.288.252-1.722.742s-.644 1.12-.644 1.89c0 .784.21 1.414.644 1.904s1.008.728 1.722.728c.448 0 .854-.098 1.218-.322M10.541 3.71c.14.14.21.322.21.532 0 .224-.07.392-.21.532a.73.73 0 0 1-.532.21.7.7 0 0 1-.532-.21.7.7 0 0 1-.21-.532c0-.21.07-.392.21-.532s.308-.21.532-.21c.21 0 .392.07.532.21M9.435 6.258h1.148v7.14H9.435zM0 3.598h1.288l2.996 8.358 2.982-8.358h1.26l-3.528 9.8h-1.47z"
              opacity=".9"
            />
          </g>
          <defs>
            <clipPath id="a">
              <path fill="currentColor" d="M0 0h180v18H0z" />
            </clipPath>
          </defs>
        </svg>
      </a>
    </div>
  )
}
